import tornado.ioloop
from urls import getapp

app = getapp()

if __name__ == "__main__":
    app.listen(8000)
    print("server start")
    tornado.ioloop.IOLoop.current().start()
    